//
//  PercentCurrentViewController.h
//  Balance
//
//  Created by oracle on 7/17/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//



#import <UIKit/UIKit.h>
#import "PercentCurrentDataModel.h"
#import "PercentCurrentLinePlot.h"
#import "PercentCurrentPiePlot.h"
#import "CorePlot-CocoaTouch.h"
#import "EskPlotTheme.h"
#import "PercentCurrentSliderPlot.h"

@interface PercentCurrentViewController : UIViewController<UISplitViewControllerDelegate,UIScrollViewDelegate,PercentCurrentSliderPlotDelegate>{
@private 
    BOOL isPageControlBeingUsed;   
    BOOL isShowPercent91DaysDelinquent ;
    BOOL isShowpriorYear ;    
    
    PercentCurrentLinePlot *linePlot;
    PercentCurrentSliderPlot *sliderPlot;   
    PercentCurrentPiePlot   *piePlot;
}
@property (strong, nonatomic) UIPopoverController *masterPopoverController;
@property (strong, nonatomic) id detailItem;
@property (strong, nonatomic) PercentCurrentDataModel *dataModel;

@property (strong, nonatomic) IBOutlet UIPageControl *pageControl;

@property (strong, nonatomic) IBOutlet UIScrollView *scrollView;

@property (strong, nonatomic) IBOutlet CPTGraphHostingView *lineHostingView;
@property (strong, nonatomic) IBOutlet CPTGraphHostingView *sliderHostingView;
@property (strong, nonatomic) IBOutlet CPTGraphHostingView *pieHostingView;


@property (strong, nonatomic) IBOutlet UIButton *priorYearButton;
@property (strong, nonatomic) IBOutlet UIButton *percent91DaysDelinquentButton;
@property (strong, nonatomic) IBOutlet UIButton *parameterButton;

@property (strong, nonatomic) IBOutlet UIView *buttonsView;
@property (strong, nonatomic) IBOutlet UIButton *notesButton;
@property (strong, nonatomic) IBOutlet UIButton *detailsButton;

- (IBAction)priorPeriodYearButtonPressed:(id)sender;
- (IBAction)percent91DaysDelinquentButtonPressed:(id)sender ;
- (void)configureView;
- (IBAction)changePage:(UIPageControl *)sender;
@end
